package com.sea.design.mapper;

import com.sea.data.entity.Order;
import com.sea.design.entity.Design;
import sun.security.krb5.internal.crypto.Des;

import java.util.List;


/**
 *  请购单接口
 * @author 陈鸿飞
 * <br/>
 */
public interface DesignMapper {
    /**
     * 条件
     * @param design
     * @return
     */
    List<Design> findByCnd(Design design);
    /**
     * 新增
     * @param design
     * @return
     */
    Integer insert(Design design);

    /**
     * 查询指定
     * @param id
     * @return
     */
    Design findById(Integer id);

    /**
     * 更新
     * @param design
     * @return
     */
    Integer update(Design design);

    /**
     * 删除
     * @param id
     * @return
     */
    Integer delete(Integer id);

}